<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>MyOnlineJudge</title>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            height: 100%;
            font-family: 'Roboto', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #4facfe, #00f2fe);
            color: #333;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            font-size: 16px;
        }

        .container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: rgba(51, 51, 51, 0.9);
            padding: 7px 14px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }

        .navbar-left, .navbar-right {
            display: flex;
            align-items: center;
        }

        .navbar a {
            color: white;
            text-decoration: none;
            font-size: 17px;
            margin: 0 13px;
            padding: 10px 15px;
            border-radius: 30px;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .navbar a:hover {
            background-color: #4CAF50;
            transform: scale(1.1);
        }

        .login {
            background-color: #007bff;
        }

        .content {
            background-color: #E6F4FF;
            border-radius: 10px;
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
            padding: 40px 20px 60px;
            margin-top: 80px;
            text-align: center;
            max-width: 730px;
            width: 100%;
        }

        .font_ {
            display: block;
            margin-top: 20px;
            font-size: 22px;
            font-weight: 500;
            color: #333;
            text-decoration: none;
        }

        .font_ p {
            font-size: 16px;
            color: #555;
            margin-bottom: 15px;
        }
        
        .cta-container {
            margin-top: 40px;
        }

        .cta-button {
            display: inline-block;
            background-color: #4CAF50;
            color: white;
            font-size: 20px;
            font-weight: 600;
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .cta-button:hover {
            background-color: #45a049;
            transform: scale(1.05);
        }

        .features {
            display: flex;
            justify-content: space-around;
            margin-top: 120px;
            gap: 100px;
        }

        @media (max-width: 768px) {
            .features {
                flex-direction: column;
                gap: 30px;
            }
        }

        .feature {
            text-align: center;
            padding: 20px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease;
        }


        .feature:hover {
            transform: translateY(-10px);
        }

        .feature h3 {
            font-size: 24px;
            margin-bottom: 10px;
            color: white;
        }

        .feature p {
            font-size: 16px;
            width: 350px;
            color: rgba(255, 255, 255, 0.8);
        }

        footer {
            text-align: center;
            padding: 20px;
            background-color: rgba(51, 51, 51, 0.9);
            color: white;
            margin-top: 50px;
        }
    </style>
</head>

<body>
    <nav class="navbar">
        <div class="navbar-left">
            <a href="/">首页</a>
            <a href="/all_questions">题库</a>
            <a href="#">竞赛</a>
            <a href="#">讨论</a>
            <a href="#">求职</a>
        </div>
        <div class="navbar-right">
            <a class="login" href="#">登录</a>
        </div>
    </nav>

    <div class="container">
        <div class="content">
            <p class="font_">欢迎你加入编程的世界！</p>
            <p class="font_">在这里，你可以挑战各种编程题目，提升你的编程技能</p>
            <div class="cta-container">
                <a class="cta-button" href="/all_questions">开始编程之旅</a>
            </div>
        </div>

        <div class="features">
            <div class="feature">
                <h3>丰富的题库</h3>
                <p class="font_">涵盖各种难度和类型的编程题目，满足不同水平的学习需求。</p>
            </div>
            <div class="feature">
                <h3>实时评测</h3>
                <p class="font_">提交代码后立即获得评测结果，帮助你快速改进解题思路。</p>
            </div>
            <div class="feature">
                <h3>社区讨论</h3>
                <p class="font_">与其他编程爱好者交流ideas，分享解题经验，共同进步。</p>
            </div>
        </div>
    </div>

    <footer>
        <p>&copy; outlier.cc 所有权 </p>
    </footer>

    <script>
        // 添加平滑滚动效果
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function (e) {
                e.preventDefault();
                document.querySelector(this.getAttribute('href')).scrollIntoView({
                    behavior: 'smooth'
                });
            });
        });
    </script>
</body>

</html>

